package com.freestyle.seatabusiness.account.config;

import org.springframework.cache.Cache;
import org.springframework.cache.caffeine.CaffeineCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by rocklee on 2022/4/1 14:46
 */
@Configuration
public class CacheConfig {
  @Bean
  public Cache cache(CaffeineCacheManager cacheManager){
    return cacheManager.getCache("default");
  }
}
